package MAgentAssignment.ontology.concepts;

import jade.content.Concept;

/**
 * Created by IntelliJ IDEA.
 * User: prageeth
 * Date: 2/16/12
 * Time: 7:09 AM
 * To change this template use File | Settings | File Templates.
 */
public class AirportTax implements Concept
{
    private String taxName;
    private String taxCode;

    private double getTaxAmmount( Plane plane, int stayMins )
    {
        double totalTax = 125.25; // for first 60 mins
        stayMins -= 60;
        if( stayMins > 0 )
        {
            totalTax += stayMins * 254.28;
        }
        return totalTax;
    }

    public String getTaxName()
    {
        return taxName;
    }

    public void setTaxName( String taxName )
    {
        this.taxName = taxName;
    }

    public String getTaxCode()
    {
        return taxCode;
    }

    public void setTaxCode( String taxCode )
    {
        this.taxCode = taxCode;
    }
}
